<template>
	<view class="cardList">
		<div class="box">
			<div class="item bg_img" @click="navigetor('awat')">ئاۋات فىلىم</div>
			<div class="item bg_img2" @click="navigetor('tetm')">تىتىم فىلىم</div>
			<div class="item bg_img3" @click="navigetor('barlik')">بارلىق فىلىملەر</div>
		</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			navigetor(type) {
				if (type == 'barlik') {
					uni.navigateTo({
						url: '/pages/search/index?type=kino',
					})
				} else if (type == 'tetm') {
					uni.navigateTo({
						url: '/pages/douyin/index',
					})
				} else if (type == 'awat') {
					uni.navigateTo({
						url: '/pages/toplam/index',
					})
				}
			}
		},
	}
</script>

<style lang="scss" scoped>
	.cardList {
		padding: 0 10px 15px;

		.box {
			display: flex;
			justify-content: space-between;

			.item {
				width: calc((100% - 20px)/3);
				height: 60px;
				display: flex;
				justify-content: center;
				align-items: center;
				color: #fff;
				font-size: 14px;
			}
		}
	}
</style>